package com.dty.dtycompute.service.impl;

import com.dty.dtycompute.entity.TdataRtMonmaxdemand;
import com.dty.dtycompute.mapper.TdataRtMonmaxdemandMapper;
import com.dty.dtycompute.service.TdataRtMonmaxdemandService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
* @author HiWin10
* @description 针对表【tdata_rt_monmaxdemand】的数据库操作Service实现
* @createDate 2023-04-04 10:27:47
*/
@Service
public class TdataRtMonmaxdemandServiceImpl implements TdataRtMonmaxdemandService {

    @Resource
    private TdataRtMonmaxdemandMapper tdataRtMonmaxdemandMapper;
    @Override
    public Map<String, TdataRtMonmaxdemand> selectTdataRtMon() {
        return tdataRtMonmaxdemandMapper.selectTdataRtMon();
    }

    @Override
    public int updateTdataRtMon(TdataRtMonmaxdemand tdataRtMonmaxdemand) {
        return tdataRtMonmaxdemandMapper.updateTdataRtMon(tdataRtMonmaxdemand);
    }
}




